From: Stefano Facchini Date: Fri, 10 Feb 2012 19:18:35 +0000 (+0100) Subject: xdndHandler: prevent dummy actor from interfering with Hot Corner X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~7064 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=138b8cf874aa042b6eccd24b1eeed8b00addd121;p=gnome-shell.git xdndHandler: prevent dummy actor from interfering with Hot Corner Since the dummy actor occupies exactly the same area of the Hot Corner, it can be erroneously picked during xdnd operations. Fix this by hiding it from pick. https://bugzilla.gnome.org/show_bug.cgi?id=669831 --- diff --git a/js/ui/xdndHandler.js b/js/ui/xdndHandler.js index 26f54322c..dede07e1a 100644 --- a/js/ui/xdndHandler.js +++ b/js/ui/xdndHandler.js @@ -17,6 +17,7 @@ const XdndHandler = new Lang.Class({ // Used as a drag actor in case we don't have a cursor window clone this._dummy = new Clutter.Rectangle({ width: 1, height: 1, opacity: 0 }); global.stage.add_actor(this._dummy); + Shell.util_set_hidden_from_pick(this._dummy, true); this._dummy.hide(); // Mutter delays the creation of the output window as long